#ifndef HOMEPAGE_H
#define HOMEPAGE_H

#include <QtWidgets>
#include "m0wig.h"
#include "modbuswig.h"
#include "mbappwig.h"
#include "setwig.h"
#include "mqtthandler.h"

namespace Ui {
class HomePage;
}

class HomePage : public QWidget
{
    Q_OBJECT

public:
    explicit HomePage(QWidget *parent = 0);
    ~HomePage();

private slots:
    void on_ipbutton_clicked();
    void paintEvent(QPaintEvent *event);


private:
    Ui::HomePage *ui;
    M0Wig *m0Wig;
    ModbusWig *modbusWig;
    MbappWig *mbappWig;
    SetWig *setWig;
};

#endif // HOMEPAGE_H
